package com.easyn.command;

import android.app.ProgressDialog;
import android.content.Context;

import com.easyn.CamLinePro.R;

public class CommonDialog {
	private static ProgressDialog progressDialog;

	public static void showDialog(Context context) {
		progressDialog = new ProgressDialog(context);
		progressDialog.setMessage(context.getString(R.string.loading));
		progressDialog.show();
	}

	public static void closeDialog() {
		progressDialog.dismiss();

	}
}
